import api from './../api'
import Http from './http'
import {
  hasClass,
  addClass,
  removeClass
} from './elements.manager'
import {
  addEvent,
  removeEvent,
  hasEvent
} from './events.manager'
import {
  isMobile,
  clientXY,
  isEmptyObject,
  GetDateAfterNum
} from './function'

export default {
  $api: api,
  $axios: new Http(process.env.VUE_APP_ORIGIN),
  $hasClass: hasClass,
  $addClass: addClass,
  $removeClass: removeClass,
  $addEvent: addEvent,
  $removeEvent: removeEvent,
  $hasEvent: hasEvent,

  isMobile,
  clientXY,
  isEmptyObject,
  GetDateAfterNum
}
